package sk.openit.xml.stax.cursor;


public class RunApp {

	public static void main(String[] args) {
		DbConfigReaderEchoOnly cursor = new DbConfigReaderEchoOnly("database-config.xml");
		cursor.process();

//		DbConfigReader cursor = new DbConfigReader("database-config.xml");
//		cursor.process();
//		DbConfig dbConfig = cursor.getDbConfig();
//		System.out.println(dbConfig);
//		
//		DbConfigWriter dbConfigWriter = new DbConfigWriter("dbc.xml");
//		dbConfigWriter.serialize(cursor.getDbConfig());
	}
}
